Skip to content

Remove CommonJS support, ESM only#898

Merged
sxzz merged 1 commit intounplugin:mainfrom
GreatAuk:remove-commonjs-support
Jan 14, 2026
Merged

Remove CommonJS support, ESM only#898
sxzz merged 1 commit intounplugin:mainfrom
GreatAuk:remove-commonjs-support

Conversation

@GreatAuk
Copy link
Contributor

@GreatAuk GreatAuk commented Dec 5, 2025

Description

The dependency unplugin-utils only supports ESM after 0.3.0. This removes CommonJS build output and exports.

Linked Issues

Additional context

@GreatAuk GreatAuk requested a review from antfu as a code owner December 5, 2025 10:14
@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpathe@​2.0.31001009284100

View full report

@socket-security
Copy link

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm safer-buffer is 94.0% likely obfuscated

Confidence: 0.94

Location: Package overview

From: pnpm-lock.yamlnpm/safer-buffer@2.1.2

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/safer-buffer@2.1.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@sxzz sxzz merged commit 216c729 into unplugin:main Jan 14, 2026
2 checks passed
This was referenced Feb 27, 2026
This was referenced Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants